package com.wxy.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Borrow {
    @TableId(type = IdType.AUTO)
    private Integer borrowId;
    private Long userId;
    private Integer bookId;
}
